package com.itheima.easyexcel.mapper;

import com.itheima.easyexcel.pojo.TbUser;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface UserMapper {
    @Select("select * from tb_user")
    public List<TbUser> findAll();
    @Insert("insert into tb_user(id,name,age)values(#{id},#{name},#{age})")
    public void save(TbUser tbUser);
}
